package com.bytecollege.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bytecollege.mapper.AtypeMapper;
import com.bytecollege.model.Atype;
import com.bytecollege.service.AtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: AtypeMapper
 * @Description: 文章类型表
 * @Author: Sun
 * @Date: 2022/10/18 21:03
 */
@Service
public class AtypeServiceImpl extends ServiceImpl<AtypeMapper, Atype> implements AtypeService {
    @Autowired
    private AtypeMapper atypeMapper;
    public List<Atype> getAllAtype() {
        return atypeMapper.selectList(null);
    }

}